package com.hqyj.onlineExamination.modules.exam.entity;


import com.hqyj.onlineExamination.modules.common.entity.AbstractEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 试卷中间表
 */
@Entity
@Table(name = "exam_paper_question")
public class PaperQuestion extends AbstractEntity {
    //试卷id
    private int paperId;
    //问题id
    private int questionId;

    public int getPaperId() {
        return paperId;
    }

    public void setPaperId(int paperId) {
        this.paperId = paperId;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public PaperQuestion(int paperId, int questionId) {
        this.paperId = paperId;
        this.questionId = questionId;
    }
}
